package socialplaytime;


import java.awt.GridLayout;
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;

@SuppressWarnings({ "serial", "unused" })
public class PlaySetDataPanel extends JPanel{
	protected JTextField nameField;
	protected JTextField choiceField;
	
	public PlaySetDataPanel(){
		buildDisplay();
	}

	protected void buildDisplay(){
		setLayout(new GridLayout(4,2,5,5));
		setBackground(Color.lightGray);
		setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder
				 ("Student Information"), BorderFactory.createEmptyBorder(10,10,50,50)));

		JLabel label = new JLabel(" Name");
		add(label);
		nameField = new JTextField(20);
		add(nameField);

		label = new JLabel(" Choice");
		add(label);
		choiceField = new JTextField(10);
		add(choiceField);
	}
}
